package com.yantong.mapper;

import com.yantong.pojo.TourNumber;
import com.yantong.pojo.TourNumberExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

public interface TourNumberMapper {
    long countByExample(TourNumberExample example);

    int deleteByExample(TourNumberExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TourNumber record);

    int insertSelective(TourNumber record);

    List<TourNumber> selectByExample(TourNumberExample example);

    TourNumber selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TourNumber record, @Param("example") TourNumberExample example);

    int updateByExample(@Param("record") TourNumber record, @Param("example") TourNumberExample example);

    int updateByPrimaryKeySelective(TourNumber record);

    int updateByPrimaryKey(TourNumber record);

    int countByParams(Map<String, Object> params);

    List<TourNumber> listByParams(Map<String, Object> params, RowBounds rowBounds);

    TourNumber findOne(TourNumber record);

}